package com.rz.quartz.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

/**
 * @program: quartz
 * @description: 我的定时任务2
 * @author: rZ
 * @create: 2020-02-14 11:01
 **/
public class MyJob2 implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("执行我的定时任务2"+new Date());
    }
}
